<?php
	class Send_resumeModel extends Model{
		public function getlist(){
			$uid = $_SESSION['member']['uid'];
			$resume = D('resume')->where(array('uid'=>$uid))->find();
			$list = $this->where(array('resume_id'=>$resume['resume_id']))->order('send_time desc')->findpage(20);
			foreach($list['data'] as $k=>&$v){
				$v['hiring'] = D('hiring')->where(array('hiring_id'=>$v['hiring_id']))->find();
			}
			return $list;
		}
	}
?>